package com.bnzj.cloud.business.core.persistence.entity;

import com.bnzj.core.persistence.entity.BaseEntity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.*;

/**
 * @author barry
 * @date 2019-10-15
 */
@Getter
@Setter
@ToString(callSuper = true)
@Entity
@Table(name = "bnz_sys_setting")
@Schema(description = "系统配置")
public class SysSetting extends BaseEntity {

    private static final long serialVersionUID = -4903226454099036857L;
    @Schema(description = "配置键")
    @Column(name = "_key")
    private String key;
    @Schema(description = "配置值")
    private String value;
    @Schema(description = "配置名称")
    private String name;
    @Schema(description = "配置描述")
    private String description;
}
